package com.itheima.reggie.service;

import com.itheima.reggie.dto.DishDto;
import com.itheima.reggie.entity.DishFlavor;

import java.util.List;

public interface DishFlavorService {
    /**
     * 添加菜品的口味
     * @param flavors
     */
    void saveWithFlavor(List<DishFlavor> flavors);

    /**
     * 根据菜品id，查询该菜品的口味
     */
    List<DishFlavor> findByDishId(Long id);
}
